<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <Grid>  
    <Grid.ColumnDefinitions>
      <ColumnDefinition/>
      <ColumnDefinition/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
      <RowDefinition/>
      <RowDefinition/>
    </Grid.RowDefinitions>
    
    <!--text of the button is set as content of XML element-->
    <Button Grid.Row="0" Grid.Column="0">Button1</Button>
    <!--text of the button is set as attribute of XML element-->
    <!--although let that button stretch both in vertial and horizontal, but since its width and height are limited, 
    so it cannot take all the way in vertial and horizontal dimension-->
    <Button Grid.Row="0" Grid.Column="1" Content="Button2" Height="100" Width="100" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
    
    <!--TextBlock is much powerful then simple Label, for example, it can set the format of the text-->
    <TextBlock Grid.Row="1" Grid.Column="0">Hello WPF From <Bold>Cheka</Bold> 
      <Rectangle Width="20" Height="20" Fill="Red"/> 
      in <Italic>WSU</Italic>
    </TextBlock>
  
  </Grid>
</Page>